﻿using SqlSugar;

namespace S_Examine.Domains.Entity
{
	/// <summary>
	/// 评分规则表
	/// </summary>
	[SugarTable("ScoringRule")]
	public class ScoringRule
	{
		/// <summary>
		/// 评分规则表Id
		/// </summary>
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
		public int Id { get; set; }

		/// <summary>
		/// 百分比
		/// </summary>
		[SugarColumn(ColumnDescription = "百分比", Length = 50, IsNullable = true)]
		public string? Percent { get; set; }

		/// <summary>
		/// 分
		/// </summary>
		[SugarColumn(ColumnDescription = "分", IsNullable = true)]
		public int? Points { get; set; }
	}
}
